package hascode_testing;

import java.util.HashMap;

public class tester {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String my_val = "hej";
		String my_val2 = "med";
		String my_val3 = "dig";
		
		int my_val_hash = my_val.hashCode();
		
		
		
		System.out.println(my_val_hash);
		
		HashMap<Integer, String> my_map = new HashMap<Integer, String>();
		my_map.put(my_val.hashCode(),my_val);
		my_map.put(my_val2.hashCode(),my_val2);
		my_map.put(my_val3.hashCode(),my_val3);
		
		
		System.out.println(my_map.get(my_val.hashCode()));
		System.out.println(my_map.values());
		
		

	}

}
